package com.scsj.cloud.producer.data.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @info   定义工单的一些基本信息
 * @author caoxiubin
 *
 */
public class WorkOrder implements Serializable{

	private static final long serialVersionUID = -576067127115058948L;
	
	// 全局唯一ID，通过redis生成
	private String id;
	// 工单名字
	private String orderName;
	// 创建时间
	private Date createTime;
	// 修改时间
	private Date updateTime;
	
	
	// 还有很多属性可以扩展
	
	public WorkOrder() {
		super();
	}
	
	public WorkOrder(String id, String orderName, Date createTime, Date updateTime) {
		super();
		this.id = id;
		this.orderName = orderName;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	
	
	
	

}
